package com.dcw.lixb.designmode.state;

/**
 * @author lixiaobin
 * @date 2020-07-29 15:28:09
 * @desc 描述信息
 */
public class StopState implements State {
    @Override
    public void doAction(Context context) {
        System.out.println("Player is in stop state");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "Stop State";
    }
}
